package com.jdd.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.jdd.common.util.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 区域表
 * </p>
 *
 * @author zly
 * @since 2022-03-23
 */
@Data
@ApiModel(value="TArea对象", description="区域表")
public class TArea implements Serializable {

    private static final long serialVersionUID = 1L;

    @Excel(name = "id", width = 15)
    @TableId(value = "id")
    private String id;

    @Excel(name = "区域名称", width = 15)
    @ApiModelProperty(value = "区域名称")
    private String name;

    @Excel(name = "等级", width = 15)
    @ApiModelProperty(value = "等级")
    private Integer level;

    @Excel(name = "排序", width = 15)
    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "更新人")
    private String updateUser;

    @Excel(name = "父级区域id", width = 15)
    @ApiModelProperty(value = "父级区域id")
    private String parentId;

    @Excel(name = "状态1-正常2-停用", width = 15)
    @ApiModelProperty(value = "状态1-正常2-停用")
    private Integer status;

    /*在区域上新增项目id*/
    private String projectId;

    @ApiModelProperty(value = "行政编码")
    private String remark;

    private String parentCode;
    private Integer Code;
    private String sysProjectCode;
}
